﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace km_sso_server.Models
{
    /// <summary>
    /// 登录信息，保存在Redis中
    /// </summary>
    [Serializable]
    public class LoginInfo
    {
        /// <summary>
        /// 应用ID
        /// </summary>
        public string AppKey { get; set; }
        /// <summary>
        /// 应用秘钥
        /// </summary>
        public string AppSecret { get; set; }
        /// <summary>
        /// 子系统用户名
        /// </summary>
        public string UserName { get; set; }
        /// <summary>
        /// 令牌Token
        /// </summary>
        public string Token { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public string Expires { get; set; }
        /// <summary>
        /// 登录用户的ip
        /// </summary>
        public string IP { get; set; }
    }
}